<?php
namespace Url\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	echo "this is Url model IndexController.class.php index function!";
    	$this->listActionUrl();
    }

    public function listActionUrl(){
    	header("Content-type:text/html;charset=utf-8");
    	echo "<br/>";
    	echo "当前URL模式为:".C('URL_MODEL');
    	echo "<br/>";
    	echo "User控制器index操作方法的URL为：<a href=".U('Url/User/index').">".U('Url/User/index')."</a>";
    	echo "<br/>";
    	echo "User控制器login操作方法的URL为：<a href=".U('Url/User/login').">".U('Url/User/login')."</a>";
    	echo "<br/>";
        echo "User控制器successs操作方法的URL为：<a href=".U('Url/User/successs').">".U('Url/User/successs')."</a>";
        echo "<br/>";
        echo "User控制器errors操作方法的URL为：<a href=".U('Url/User/errors').">".U('Url/User/errors')."</a>";
        echo "<br/>";
        echo "User控制器redirects操作方法的URL为：<a href=".U('Url/User/redirects').">".U('Url/User/redirects')."</a>";
        echo "<br/>";
        echo "User控制器ajaxreturns操作方法的URL为：<a href=".U('Url/User/ajaxreturns').">".U('Url/User/ajaxreturns')."</a>";
        echo "<br/>";
    }
}